package com.koocloud.electroplatemanage.utils;

import java.io.File;

/**
 * @program: electroplatemanage
 * @description: 删除文件工具类 excel导入用
 * @author: zww
 * @create: 2020-11-17 20:09
 */
public class DeleteFileUtil {
    public static void delete(String filepath){
        File excelFile =new File(filepath);
        //如果文件存在
        if(excelFile.exists()) {
            //文件删除
            excelFile.delete();
            //excelFile.deleteOnExit();
        }
    }

}